home *** CD-ROM | disk | FTP | other *** search
/ Computer Arts: Pro Software Skills - Photoshop / Computer Arts Pro Software Skills Photoshop.iso / pc / main.swf / scripts / DefineSprite_107 / frame_1 / DoAction.as
Encoding:
Text File  |  2011-06-06  |  370 b   |  23 lines

  1. function setPath(path)
  2. {
  3.    myPath = path;
  4. }
  5. stop();
  6. var myPath = "";
  7. this.onRelease = function()
  8. {
  9.    plat = System.capabilities.os;
  10.    if(plat.toLowerCase().indexOf("win") != -1)
  11.    {
  12.       mdm.System.exec(_root.rootOpenFolderPath);
  13.    }
  14. };
  15. this.onRollOver = function()
  16. {
  17.    gotoAndStop(2);
  18. };
  19. this.onRollOut = function()
  20. {
  21.    gotoAndStop(1);
  22. };
  23.